<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.w3.org/1999/xhtml">

<head th:replace="admin/_fragments_after :: head(~{::title})">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
    <link rel="stylesheet" href="../../static/css/my.css" th:href="@{/css/my.css}">
    <title>博客后台首页</title>
</head>

<body class="m-bloght">
    <!--导航-->
    <nav  th:replace="admin/_fragments_after :: menu(1)" id="nav" class="ui inverted attached segment m-padded-tb-mini m-shadow-small">
        <div class="ui container">
            <div class="ui inverted secondary stackable menu">
                <h2 class="ui teal header item">DyBlogs后台</h2>
                <a href="#" class="active red m-item item m-mobile-hide m-text-mini"><i class="home icon"></i>首页</a>
                <a href="#" class="m-item item m-mobile-hide m-text-mini"><i class="idea icon"></i>分类</a>
                <a href="#" class="m-item item m-mobile-hide m-text-mini"><i class="tags icon"></i>标签</a>
                <div class="right m-item m-mobile-hide menu">
                    <div class="ui dropdown item">
                        <div class="text">
                            <img src="../../static/images/dy.jpg" th:src="@{/images/dy.jpg}" alt="" class="ui avatar image">
                            丁宇
                        </div>
                        <i class="dropdown icon"></i>
                        <div class="menu">
                            <a href="#" class="item">注销</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--目录图标-->
        <!--menu_toggle按钮事件，让导航在手机端可以点击展开-->
        <a href="#" class="ui menu_toggle black icon button m-top-right m-mobile-show">
            <i class="sidebar icon"></i>
        </a>
    </nav>
    <!--二级导航-->
    <div class="ui attached pointing menu">
        <div class="ui container">
            <div class="right menu">
                <a href="#" class="item">发布</a>
                <a href="#" class="teal active item">列表</a>
            </div>
        </div>
    </div>
    <br>
    <br>
    <!--中间内容-->
    <div class="m-container">
        <!--container自适应-->
        <div class="ui stackable container">
            <div class="ui success large message">
                <h2>你好！</h2>
                <p>欢迎登录！</p>
            </div>
            <img src="https://picsum.photos/800/450" alt="" class="ui rounded bordered fluid image">

            </img>
        </div>
    </div>
    <br>
    <br>
    <br>
    <!--底部footer-->
    <footer th:replace="admin/_fragments_after :: footer" class="ui inverted vertical segment m-padded-tb-massive">
        <div class="ui center aligned container">
            <!--布局16份,3337-->
            <div class="ui inverted divided stackable grid">
                <div class="three wide column">
                    <div class="ui inverted link list">
                        <div class="item">
                            <img src="../../static/images/dymp.jpg" th:src="@{/images/dymp.jpg}" class="ui rounded image" alt="" style="width: 100px;">
                        </div>
                    </div>
                </div>
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">最新博客</h4>
                    <!--竖着的列表-->
                    <div class="ui inverted link list">
                        <a href="#" class="item">用户故事</a>
                        <a href="#" class="item">用户故事</a>
                        <a href="#" class="item">用户故事</a>
                    </div>
                </div>
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">联系我</h4>
                    <!--竖着的列表-->
                    <div class="ui inverted link list">
                        <a href="#" class="item">Email：dyinin@qq.com</a>
                        <a href="#" class="item">QQ:2985922950</a>
                    </div>
                </div>
                <div class="seven wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">dingyu</h4>
                    <!--竖着的列表-->
                    <div class="ui inverted link list m-text-thin m-text-spaced m-opacity-mini">
                        <p>这是我的个人博客</p>
                    </div>
                </div>
            </div>
            <div class="ui inverted section divider"></div>
            <p class="m-text-thin m-text-spaced m-opacity-mini">Copyright © 2020-2021 DingYu Designed by DingYu</p>
        </div>
    </footer>
    <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
    <script>
        $(".menu_toggle").click(function () {
            $(".m-item").toggleClass("m-mobile-hide");
        })
        /**头像**/
        $('.ui.dropdown').dropdown({
            on: "click"
        })
    </script>
</body>

</html>